<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

class Claim extends AppModel {

    var $name = "Claim";
    var $actsAs = array('Logable' => array(
            'userModel' => 'User',
            'userKey' => 'user_id',
            'change' => 'full', // options are 'list' or 'full'
            'description_ids' => TRUE // options are TRUE or FALSE
            ));
    var $belongsTo = array(
        'Proyect' => array(
            'model' => 'Proyect'
        ),
    );
    var $hasMany = array(
        'CandidateRequirementClaim' => array(
            'className' => 'CandidateRequirementClaim',
            'dependent' => true),
        'PropertyRequirementClaim' => array(
            'className' => 'PropertyRequirementClaim',
            'dependent' => true),
        'ProyectRequirementClaim' => array(
            'className' => 'ProyectRequirementClaim',
            'dependent' => true),
        'TitleStudyClaim' => array(
            'className' => 'TitleStudyClaim',
            'dependent' => true)
    );

}

?>
